package com.yhf.demoplatform;

import com.yhf.demoplatform.ProxyPattern.UserController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
@SpringBootApplication
public class TestController {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(TestController.class, args);
        UserController userController = context.getBean(UserController.class);
        userController.UserLogin("aa","nn");
    }
}
